package com.enqualcomm.kids.bean;

import java.util.List;

/**
 * Created by Sunzhigang on 2015/10/21.
 */
public class RecentWeather {
    public int errNum;          //获取天气返回码
    public String errMsg;       //返回的错我信息
    public RetData retData;     //返回的天气信息数据

    public static class RetData {
        public String city;     //城市名
//        public String cityid;   //城市编号
        public Today today;     //今天的天气信息数据

        public List<Forecast> forecast;     //预报的天气信息数据
//        public List<Forecast> history;      //历史天气信息数据

//        @Override
//        public String toString() {
//            return "RetData{" +
//                    "city='" + city + '\'' +
//                    ", cityid='" + cityid + '\'' +
//                    ", today=" + today +
//                    ", forecast=" + forecast +
//                    ", history=" + history +
//                    '}';
//        }
    }

    public static class Today {
//        public String date;
        public String week;
        public String curTemp;
//        public int aqi;
        public String fengxiang;
        public String fengli;
        public String hightemp;
        public String lowtemp;
        public String type;
        public List<Index> index;

//        @Override
//        public String toString() {
//            return "Today{" +
//                    "date='" + date + '\'' +
//                    ", week='" + week + '\'' +
//                    ", curTemp='" + curTemp + '\'' +
//                    ", aqi=" + aqi +
//                    ", fengxiang='" + fengxiang + '\'' +
//                    ", fengli='" + fengli + '\'' +
//                    ", hightemp='" + hightemp + '\'' +
//                    ", lowtemp='" + lowtemp + '\'' +
//                    ", type='" + type + '\'' +
//                    ", index=" + index +
//                    '}';
//        }
    }

    public static class Index {
        public String code;
        public String details;
        public String index;
        public String name;
        public String otherName;

//        @Override
//        public String toString() {
//            return "Index{" +
//                    "code='" + code + '\'' +
//                    ", details='" + details + '\'' +
//                    ", index='" + index + '\'' +
//                    ", name='" + name + '\'' +
//                    ", otherName='" + otherName + '\'' +
//                    '}';
//        }
    }

    public static class Forecast{
        public String date;
        public String week;
        public String fengxiang;
        public String fengli;
        public String hightemp;
        public String lowtemp;
        public String type;

//        @Override
//        public String toString() {
//            return "Forecast{" +
//                    "date='" + date + '\'' +
//                    ", week='" + week + '\'' +
//                    ", fengxiang='" + fengxiang + '\'' +
//                    ", fengli='" + fengli + '\'' +
//                    ", hightemp='" + hightemp + '\'' +
//                    ", lowtemp='" + lowtemp + '\'' +
//                    ", type='" + type + '\'' +
//                    '}';
//        }
    }
//
//    @Override
//    public String toString() {
//        return "RecentWeather{" +
//                "retData=" + retData +
//                ", errNum=" + errNum +
//                ", errMsg='" + errMsg + '\'' +
//                '}';
//    }
}
